<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html>
<html>
<%
    if (request.getSession().getAttribute("loginUser") != null) {
        response.sendRedirect(request.getContextPath() + "/Home?action=index");
    }
%>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%@ include file="/common/pre/header.jsp" %>
    <script type="text/javascript" src="${ctx}/statics/js/login/login.js"></script>
    <title>易买网</title>
</head>
<body>
<!--Begin Login Begin-->
<div class="log_bg">
    <div class="top">
        <div class="logo"><a href="${ctx}/Home?action=index"><img src="${ctx}/statics/images/logo.png"/></a></div>
    </div>
    <div class="login">
        <div class="log_img"><img src="${ctx}/statics/images/l_img.png" width="611" height="425"/></div>
        <div class="log_c" style="height: 370px">
            <form>
                <table border="0" style="width:370px; font-size:14px; margin-top:30px;" cellspacing="0" cellpadding="0">
                    <tr height="50" valign="top">
                        <td width="55">&nbsp;</td>
                        <td>
                            <span class="fl" style="font-size:24px;">登录</span>
                            <span class="fr">还没有商城账号，<a href="${ctx}/Register?action=toRegister" style="color:#ff4e00;">立即注册</a></span>
                        </td>
                    </tr>
                    <tr height="70">
                        <td>用户名</td>
                        <td><input type="text" name="loginName" id="loginName" value="admin" class="l_user"/></td>
                    </tr>
                    <tr height="70">
                        <td>密&nbsp; &nbsp; 码</td>
                        <td><input type="password" name="password" id="password" value="123456" class="l_pwd"/></td>
                    </tr>
                    <tr height="70">
                        <td>验证码</td>
                        <td>
                            <input type="text" style="width: 40%" name="code" id="validate-input" value="" class="l_pwd"/>
                            <img style="position: relative;top: 12px;margin-left: 5px" width="130px" id="validate" src="${ctx}/kaptcha.jpg"/>
                        </td>
                        <script type="text/javascript">
                            $(function (){
                                $("#validate").click(function (){
                                    this.src="${ctx}/kaptcha.jpg?time="+new Date().getTime();
                                });
                            });
                        </script>
                    </tr>
                    <tr height="60">
                        <td>&nbsp;</td>
                        <td>
                            <input type="button" value="登录" class="log_btn" onclick="login();"/></td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>
<!--End Login End-->
<!--Begin Footer Begin-->
<div class="btmbg">
    <div class="btm">
        备案/许可证编号：蜀ICP备12009302号-1-www.dingguagua.com Copyright © 2015-2018 尤洪商城网 All Rights Reserved. 复制必究 , Technical
        Support: Dgg Group <br/>
        <img src="${ctx}/statics/images/b_1.gif" width="98" height="33"/>
        <img src="${ctx}/statics/images/b_2.gif" width="98" height="33"/>
        <img src="${ctx}/statics/images/b_3.gif" width="98" height="33"/>
        <img src="${ctx}/statics/images/b_4.gif" width="98" height="33"/>
        <img src="${ctx}/statics/images/b_5.gif" width="98" height="33"/>
        <img src="${ctx}/statics/images/b_6.gif" width="98" height="33"/>
    </div>
</div>
<!--End Footer End -->
</body>
<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
</html>
